package com.billing.service;


import java.util.List;

import com.billing.model.entity.TSchedulingdetails;

public interface SchedulingdetailsService {

	
	/**
	 * 根据年月日获取考勤信息
	 * @param year
	 * @param month
	 * @param day
	 * @return
	 */
	public TSchedulingdetails getTSchedulingdetailsDesc(int year,int month,int day,int schedulingId);
	/**
	 * 根据年月日获取考勤信息
	 * @param year
	 * @param month
	 * @param day
	 * @return
	 */
	public TSchedulingdetails getTSchedulingdetailsAsc(int year,int month,int day,int schedulingId);
	/**
	 * 根据年月日获取考勤信息
	 * @param year
	 * @param month
	 * @param day
	 * @return
	 */
	public List<TSchedulingdetails> getTSchedulingdetailsList(int year,int month,int day,int schedulingId);
	/**
	 * 根据id获取考勤信息
	 * @return
	 */
	public TSchedulingdetails getTSchedulingdetailsById(int id);
	
	/**
	 * 批量新增考勤月份日期
	 * @param list
	 * @return
	 */
	public int insertTSchedulingdetailsList(List<TSchedulingdetails> list);
	
	/**
	 * 根据年和班次获取考勤信息
	 * @param year
	 * @param month
	 * @param day
	 * @return
	 */
	public List<TSchedulingdetails> getTSchedulingdetailsYear(int year,int shiftid);
	/**
	 * 根据排班ID和年份删除排班明细信息
	 * @param id
	 * @return
	 */
	public int deleteTSchedulingdetails(int id,int year);
	/**
	 * 根据年和排班id获取考勤信息
	 * @param year
	 * @param month
	 * @param day
	 * @return
	 */
	public List<TSchedulingdetails> getTSchedulingdetailsByYear(int year,int scheid);
	/**
	 * 根据排班id获取考勤信息
	 * @param year
	 * @param month
	 * @param day
	 * @return
	 */
	public List<TSchedulingdetails> getTSchedulingdetailsByscheid(int scheid);
	/**
	 * 根据排班ID删除排班明细信息
	 * @param id
	 * @return
	 */
	public int deleteTSchedulingdetailsByid(int id);
}
